home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
u_text.zip
/
U.PPS
< prev
next >
Wrap
Text File
|
1993-03-22
|
2KB
|
26 lines
;*****************************************************************************
;* *
;* Displaying A File Before An Upload *
;* *
;* Written in PCBoard Programming Language *
;* *
;*****************************************************************************
STRING cmdline ; Stores the command line (if any) that was
; passed to the command.
cmdline = TOKENSTR() ; gather the command line parameters if any and
; store in the cmdline variable.
DISPFILE PPEPATH()+"UNOT",111b ; Display the UNOT file stored in the same
; directory as the PPE file.
KBDSTUFF "U "+cmdline+chr(13) ; Stuff the keyboard with a U to execute the
; (U)pload command, followed by the command
; line (if any), and a carriage return to
; actually execute the command.
END ; End the execution of the PPE. Once
; execution ends, the keyboard stuff will
; actually take place.